package com.example.Service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.Service.InterviewServie;
import com.example.dao.InterviewMapper;
import com.example.pojo.Interview;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InterviewServiceImpl extends ServiceImpl<InterviewMapper,Interview> implements InterviewServie{

    @Autowired InterviewMapper interviewMapper;

    @Override
    public List<Interview> selectAll(Integer interviewStatus) {
        return interviewMapper.selectAll(interviewStatus);
    }


    public  List<Interview> selectStatus(){
        return interviewMapper.selectStatue();
    }
}
